<%@ page  contentType="text/html; charset=UTF-8"%>
<%@ include file="../../public/public.jsp" %>
<jsp:include page="../../public/publishCssAndJS.jsp" flush="true"></jsp:include>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% int rowColor = 1; 
	int pageSize = ((Integer)valueStack.findValue("pageForm.pageSize")).intValue();
	int pageNo = ((Integer)valueStack.findValue("pageForm.pageNo")).intValue();
	int rowNo = (pageNo-1)*pageSize+1;
%>
    <table  cellspacing="1" class="dataTableStyle" width="100%"> 
    	<thead>
    		<tr>
    			<th  align="center" width=10%">序号</th>
    			<th  align="center" width=50%">附件名称</th>
    			<th  align="center" width=40%">操作</th>
    		</tr>
    	</thead>
    	<tbody>
    		<s:iterator value="data">
    				<% if((rowColor++ %2)==0){ %>
    					<tr onmouseover="changeRowColor(this)" onmouseout="resumeRowColor(this,<%=rowColor%2 %>)" class="data_tr_bgcs1">
    				<%}else{ %>
    					<tr onmouseover="changeRowColor(this)" onmouseout="resumeRowColor(this,<%=rowColor%2 %>)" class="data_tr_bgcs2">
    				<%} %>
    			<td align="center">
    			<%=rowNo++ %>
    			</td>
    			<td align="center">
    				<s:property value="showName"/>
    			</td>
    			<td align="center">    	
    				<ss:condition rescode="PatentApply" optcode="DELETE">		
    				<a href="#" style="cusor:hand" onclick="javascript:delAccessory('<s:property value="id"/>','<s:property value="attachmentName"/>');">
    					删除 
    				</a> 
    				</ss:condition>
    			</td>
    		 </tr>
    		</s:iterator>
    	</tbody>
		<tfoot>
    	</tfoot>
    </table>